{extend name="admin@public:base" /}
{block name="main-row-content"}
<div class="page-header">
	<h1>
		当前操作
		<small>
			<i class="ace-icon fa fa-angle-double-right"></i>
			修改新闻分类
		</small>
	</h1>
</div><!-- /.page-header -->
<div class="row">
	<div class="col-xs-12">
		<!-- PAGE CONTENT BEGINS -->
		<form class="form-horizontal ajaxForm3" action="{:url('admin/News/news_cate_runedit')}" method="post">
			<input type="hidden" name="id" value="{$news_cate.id}">
			<div class="form-group">
				<label class="col-sm-2 control-label no-padding-right" for="form-field-1"><span class="middle red"></span>新闻分类名称：</label>
				<div class="col-sm-10">
					<input type="text"  name="name" placeholder="请输入新闻分类名称" value="{$news_cate.name}" class="col-xs-4" required/>
					<div class="col-sm-5 help-block"><i class="fa fa-info-circle color-info1"></i> 必填</div>
				</div>
			</div>
			<div class="space-4"></div>
			<div class="form-group">
				<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 是否开启： </label>
				<div class="col-sm-10" style="padding-top:5px;">
					<input name="status" value="1" checked class="ace ace-switch ace-switch-6" {$news_cate.status?"checked":""} type="checkbox">
					<span class="lbl">&nbsp;&nbsp;默认开启</span>
				</div>
			</div>
			<div class="space-4"></div>
			<div class="form-group">
				<label class="col-sm-2 control-label no-padding-right" for="form-field-1"><span class="middle red">*</span>排序：</label>
				<div class="col-sm-10">
					<input type="text"  name="sort"  value="{$news_cate.sort}" class="col-xs-2" required/>
				</div>
			</div>
            <div class="space-4"></div>
			<div class="clearfix">
				<div class="col-md-offset-3 col-md-9 ">
					<button class="btn btn-info btn-sm btn-radius" type="submit">
						<i class="ace-icon fa fa-check bigger-110"></i>
						提交并保存
					</button>

					&nbsp; &nbsp; &nbsp;
					<button class="btn btn-success btn-sm btn-radius" type="submit">
						<i class="ace-icon fa fa-undo bigger-110"></i>
						重置
					</button>
				</div>
			</div>

			
		</form>
	</div><!-- /.col -->
</div><!-- /.row -->
{/block}